﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Improve157
{
    public class Chapter_8
    {

    }



    interface ISample
    {
        void MethodA();
        
    }

    class A :ISample
    {
        B b;
        public void MethodA()
        {
            b.MethodB();
        }
    }

    class B
    {
        ISample a;
        public void MethodB()
        {
            a.MethodA();
        }
    }
}
